.content {
    white-space: pre-wrap;   /* 保留空格和换行 */
    word-break: break-word;   /* 防止单词过长撑破容器 */
}

#online-users {
    list-style: none;
    padding: 0;
    margin: 0;
}

.user-entry {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 6px 10px;
    margin-bottom: 4px;
    border-radius: 8px;
    transition: background 0.2s;
    cursor: default;
}

.user-entry:hover {
    background-color: #f0f9ff; /* hover 背景 */
}

.user-color-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}

.user-name {
    font-weight: 500;
}


/* 隐藏滚动条 */
.scrollbar-hidden::-webkit-scrollbar {
    display: none;
}

.scrollbar-hidden {
    -ms-overflow-style: none;  /* For Internet Explorer 10+ */
    scrollbar-width: none;  /* For Firefox */
}

/* CSS 样式 */
.preserve-whitespace {
    white-space: pre-wrap;      /* 保留换行和空格，同时允许换行 */
    word-wrap: break-word;      /* 防止长单词溢出 */
    word-break: break-word;     /* 自动换行 */
}
/** 左侧滚动条的问题 */
.scrollbar-hide::-webkit-scrollbar {
    display: none;
}
.scrollbar-hide {
    -ms-overflow-style: none;
    scrollbar-width: none;
}
